package com.lhd.mapper;

import com.lhd.pojo.Inform;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface InformMapper {
    List<Inform> getAll();

    void update(Inform inform);

    void delete(@Param("id") Integer id);

    void add(Inform inform);
}
